/* Styles for the form blocks containing form elements. Two kinds of form blocks :
	- field sets : used to create blocks for elements containing editable values.
	- values sets : used to create blocks for elements containing static (non editable) values.
*/
form.basic, form.basic fieldset, div.valuesSet {
	text-align: left;
	width: auto;
	background-color: transparent;
}

/* Regular form elements */
form.basic fieldset, div.valuesSet, p.legend, p.buttonsForCol {
	max-width: 490px;
}

form.basic fieldset, div.valuesSet, p.legend {
	border-color: #cacaca;
	border-style: solid;
}

div.valuesSet.global {
	margin-bottom: 0;
	padding-bottom: 10px;
}

form.basic fieldset.global, div.valuesSet.global,
form.basic fieldset.global p.legend, div.valuesSet.global p.legend {
	max-width: 100%;
	width: 100%;
}

form.basic fieldset, div.valuesSet {
	border-width: 0;
	padding: 0 0 1.5em 0;
	margin: 0 0 0 0;
}

form.basic fieldset.classic{
	border-color: #cacaca;
	border-width: 1px;
	max-width: 100%;
	width: 100%;
}

form.basic fieldset.classic legend{
	color: #9660CD;
	text-transform: capitalize;
	text-align: center;
	font-size: 13px;
}

form.basic fieldset.classic-small{
	border-color: #cacaca;
	border-width: 1px;
	width: 50%;
	margin-top:5px;
	margin-left:5px;
}

div.valuesSet.first {

}

div.valuesSet p.info {
	text-align: left;
	margin: 1em 0 0 0;
}

form.basic fieldset.last, div.valuesSet.last {
	margin-bottom: 1em;
}

div.valuesSetWithNoLegend {
	margin-bottom: 20px;
}

p.legend {
	color: #333333;
	border-width: 0 0 1px 0;
	padding: 0.2em 0 0.2em 0;
	font-size: 15px;
	font-weight: bold;
	margin: 0;
	clear:left;
}

p.legend.first {
	border-top-width: 0;
}

p.formInfo {
	width:100%;
}

/* big fieldsets */
form.basic fieldset.big {
	width:auto;
	max-width:none;
}

/* Compact form elements */
.compact form.basic fieldset, .compact div.valuesSet, .compact p.legend, .compact p.buttonsForCol {
	max-width: 400px;
}

.compact form.basic fieldset, .compact div.valuesSet {
	padding: 0 0 0.5em 0;
	margin-bottom:0.5em;
}

.compact p.legend {
	font-size: 13px;
}

/* Container for buttons to put in the center of a single form column */
p.buttonsForCol {
	margin:0;
	padding:0;
}

p.buttonsForCol button {
	margin-left:auto;
	margin-right:auto;
}